#include <iostream>
using namespace std;

int main()
{
    unsigned int a = 60; // 60 = 0011 1100
    unsigned int b = 13; // 13 = 0000 1101
    int c = 0;

    ///////////////////////////////////

    c = a & b; // 12 = 0000 1100
    cout << "a & b : " << c << endl;

    c = a | b; // 61 = 0011 1101
    cout << "a | b : " << c << endl;

    c = a ^ b; // 49 = 0011 0001
    cout << "a ^ b : " << c << endl;

    c = ~a; // -61 = 1100 0011
    cout << "~a : " << c << endl;

    c = a << 2; // 240 = 1111 0000
    cout << "a << 2 : " << c << endl;

    c = a >> 2; // 15 = 0000 1111
    cout << "a >> 2 : " << c << endl;

    ///////////////////////////////////

    cout << endl;

    c += a;
    cout << "+= a : " << c << endl;

    c -= a;
    cout << "-= a : " << c << endl;

    c *= a;
    cout << "*= a : " << c << endl;

    c /= a;
    cout << "/= a : " << c << endl;

    c = 200;
    c %= a;
    cout << "Line 6 - %= Operator, Value of c = : " << c << endl;

    c <<= 2;
    cout << "Line 7 - <<= Operator, Value of c = : " << c << endl;

    c >>= 2;
    cout << "Line 8 - >>= Operator, Value of c = : " << c << endl;

    c &= 2;
    cout << "Line 9 - &= Operator, Value of c = : " << c << endl;

    c ^= 2;
    cout << "Line 10 - ^= Operator, Value of c = : " << c << endl;

    c |= 2;
    cout << "Line 11 - |= Operator, Value of c = : " << c << endl;

    /////////////////////////////////

    return 0;
}